package com.udaos.modules.student.services;

import java.util.List;

import org.nutz.aop.interceptor.ioc.TransAop;
import org.nutz.dao.Dao;
import org.nutz.ioc.aop.Aop;
import org.nutz.ioc.loader.annotation.IocBean;

import com.udaos.common.base.Service;
import com.udaos.models.student.Ud_student_attachment;

/**
 * @author Wizzer.cn
 * @time 2016-12-28 16:12:56
 * 
 */
@IocBean(args = {"refer:dao"})
public class UdStudentAttachmentService extends Service<Ud_student_attachment> {
		public UdStudentAttachmentService(Dao dao) {
				super(dao);
		}

		@Aop(TransAop.READ_COMMITTED)
		public void add(List<Ud_student_attachment> attachments) {
			dao().insert(attachments);
			
		}
}